hip.util.lifetime

Undocumented in source.

Members

Enums

HipExportedTargets
enum HipExportedTargets

Use this function to export

Functions

hipDestroy
void hipDestroy(Object reference, int target)
Undocumented in source. Be warned that the author may not have intended to support it.
hipDestroyTarget
void hipDestroyTarget(int target)

Destroys every reference inside the target. This function is useful for managing the destruction for the targets

hipSaveRef
Object hipSaveRef(Object reference, int target)

Guarantees that the reference won't be destroyed after some time by saving the object in the exportedSharedUserData array.

hipSaveRef
Object hipSaveRef(Object reference, int target)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

RefCounted
mixintemplate RefCounted()

Not yet complete. Need more work.

Meta